home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global md2, rantime, mp
- set rantime to the ticks
- set mp to 5
- if the name of cast the castNum of sprite 5 = "sbend" then
- set the castNum of sprite 5 to the number of cast "sBSTART"
- set md2 to the duration of cast the castNum of sprite 5 - 3
- else
- set md2 to the duration of cast (the castNum of sprite 5 + 1) - 3
- set the castNum of sprite 5 to the castNum of sprite 5 + 1
- end if
- end
-